package cn.kgc.ebook.dao;

import cn.kgc.ebook.pojo.Ebookentry;
import cn.kgc.ebook.pojo.EbookentryExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
@Mapper
public interface EbookentryMapper {
    int countByExample(EbookentryExample example);

    int deleteByExample(EbookentryExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Ebookentry record);

    int insertSelective(Ebookentry record);

    List<Ebookentry> selectByExample(EbookentryExample example);

    Ebookentry selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Ebookentry record, @Param("example") EbookentryExample example);

    int updateByExample(@Param("record") Ebookentry record, @Param("example") EbookentryExample example);

    int updateByPrimaryKeySelective(Ebookentry record);

    int updateByPrimaryKey(Ebookentry record);
}